![]() |
CUSTOM Windows API Java Wrap 1.08
|
Classes | |
| enum | CcwLogVerbosity |
| Verbosity level. More... | |
| enum | OpenDeviceMode |
| Open Communication Port Mode. More... | |
Public Member Functions | |
| CuCustomWndAPIJWrap () throws Exception | |
| Costructor. Use the default log verbosity level and Log folder path. | |
| CuCustomWndAPIJWrap (CcwLogVerbosity logVerbosity, String strLogFolderPath) throws Exception | |
| Costructor. Also specify log verbosity level and other settings. | |
| void | InitLibrary () throws Exception |
| Initializes library. This must be the first call after the creation of the class. | |
| void | DeInitLibrary () throws Exception |
| De-initialize library. Call this function as the last function before deinit the class. | |
| String | GetAPIVersion () throws Exception |
| Returns current API version. | |
| String | GetAPIVersionHwLibrary () throws Exception |
| Gets the API release for hardware library (C-library) | |
| Object | GetVariable (CuCustomWndDevice device, String var) throws Exception |
| Get the value of an internal "parameter". | |
| void | SetVariable (Object device, String var, Object value) throws Exception |
| Set the value of an internal "parameter". | |
| void | SetOpenDeviceMode (OpenDeviceMode ode) throws Exception |
| Set the open mode for the devices. | |
| OpenDeviceMode | GetOpenDeviceMode () throws Exception |
| Get the open mode for the devices. | |
| void | BinFileToPrintSpooler (String strPrinterName, String strFilePath, String strDocName) throws Exception |
| Send a binary file into the printer spooler queue. | |
| PrinterInfo[] | EnumInstalledPrinters () throws Exception |
| Enum the supported printers installed. | |
| CuCustomWndDevice | OpenInstalledPrinter (String strPrinterName) throws Exception |
| Open the communication with a Installed printer. | |
| USBDevice[] | EnumUSBDevices () throws Exception |
| Enum the usb devices connected. | |
| CuCustomWndDevice | OpenPrinterUSB (USBDevice udevice) throws Exception |
| Open the communication with a USB printer. | |
| ETHDevice[] | EnumETHDevices (long dwSearchTimeout) throws Exception |
| Enum the Ethernet/Wifi devices connected. | |
| CuCustomWndDevice | OpenPrinterETH (String strPrinterIPAddress) throws Exception |
| Open the communication with a Ethernet / WIFI printer. | |
| CuCustomWndDevice | OpenPrinterETH (String strPrinterIPAddress, long dwPrinterIPPort) throws Exception |
| Open the communication with a Ethernet / WIFI printer. | |
| CuCustomWndDevice | OpenPrinterETH (ETHDevice ethdevice) throws Exception |
| COMPort[] | EnumCOMPorts () throws Exception |
| Enum the COM Ports found. | |
| CuCustomWndDevice | OpenPrinterCOM (COMPort cport) throws Exception |
| CuCustomWndDevice | OpenPrinterCOM (String strcport) throws Exception |
| Open the communication with a COM port to printer. | |
| PrinterStatus | GetInstalledPrinterFullStatus (String strPrinterName) throws Exception |
| Open the communication with a Installed printer. | |
Protected Member Functions | |
| void | finalize () throws Exception |
| Destructor. | |
|
inline |
Costructor. Use the default log verbosity level and Log folder path.
|
inline |
Costructor. Also specify log verbosity level and other settings.
| logVerbosity | Verbosity log level. |
| strLogFolderPath | Log folder path. If null or empty, the library uses the default path: "%Documents and settings%\CUSTOM\CuCustomWndAPI\Log". |
|
inline |
Send a binary file into the printer spooler queue.
| strPrinterName | A string that is the installed printer name. |
| strFilePath | A string with the file name to send to the printer spooler queue |
| strDocName | A string that is the document name (this value will be visible into the spooler queue) |
| CuCustomWndAPIJWrapException |
|
inline |
De-initialize library. Call this function as the last function before deinit the class.
| CuCustomWndAPIJWrapException |
|
inline |
Enum the COM Ports found.
| CuCustomWndAPIJWrapException |
|
inline |
Enum the Ethernet/Wifi devices connected.
| dwSearchTimeout | The timeout to search the ethernet / wifi devices, minimum 300 (ms) |
| CuCustomWndAPIJWrapException |
|
inline |
Enum the supported printers installed.
| CuCustomWndAPIJWrapException |
|
inline |
Enum the usb devices connected.
| CuCustomWndAPIJWrapException |
|
inlineprotected |
Destructor.
|
inline |
Returns current API version.
| CuCustomWndAPIJWrapException |
|
inline |
Gets the API release for hardware library (C-library)
| CuCustomWndAPIJWrapException |
|
inline |
Open the communication with a Installed printer.
| strPrinterName | A string that is the installed printer name. |
| CuCustomWndAPIJWrapException |
|
inline |
Get the open mode for the devices.
| CuCustomWndAPIJWrapException |
|
inline |
Get the value of an internal "parameter".
| device | The CuCustomWndDevice device with the application will communicate to. |
| var | A string that is the variable ID |
| CuCustomWndAPIJWrapException |
|
inline |
Initializes library. This must be the first call after the creation of the class.
| CuCustomWndAPIJWrapException |
|
inline |
Open the communication with a Installed printer.
| strPrinterName | A string that is the installed printer name. |
| CuCustomWndAPIJWrapException |
|
inline |
Open the communication with a COM port to printer
| cport | A COMPort with all the parameters of the COM Port to open |
| CuCustomWndAPIJWrapException |
|
inline |
Open the communication with a COM port to printer.
| strcport | the string with the COM port to open. |
| CuCustomWndAPIJWrapException |
|
inline |
Open the communication with a Ethernet / WIFI printer
| ethdevice | A ETHDevice with all the parameters of the Ethernet / WIFI printer to open. |
| CuCustomWndAPIJWrapException |
|
inline |
Open the communication with a Ethernet / WIFI printer.
| strPrinterIPAddress | the string with the IP Address of the printer to open. |
| CuCustomWndAPIJWrapException |
|
inline |
Open the communication with a Ethernet / WIFI printer.
| strPrinterIPAddress | the string with the IP Address of the printer to open. |
| dwPrinterIPPort | the network port to open int the printer. If this value is 0, it is automatically set to the default for the RAW print port (9100). |
| CuCustomWndAPIJWrapException |
|
inline |
Open the communication with a USB printer.
| udevice | A USBDevice with all the parameters of the USB printer to open. |
| CuCustomWndAPIJWrapExceptionn |
|
inline |
Set the open mode for the devices.
| ode | The different way to open the communication channels of the device. |
| CuCustomWndAPIJWrapException |
|
inline |
Set the value of an internal "parameter".
| device | The CuCustomWndDevice device with the application will communicate to. |
| var | A string that is the variable ID |
| value | Object with the value to assign to the variable. |
| CuCustomWndAPIJWrapException |